<?php
/* @var $this yii\web\View */
?>
<table class="table table-bordered table-hover">
    <caption>三国人物名言</caption>
    <thead>
    <tr>
        <th>人物</th>
        <th>名言</th>
    </tr>
    </thead>
    <tbody>
    <?php foreach ($people as $v) :?>
        <tr>
            <td><?=$v['name']?></td>
            <td><?=$v['saying']?></td>
        </tr>
    <?php endforeach;?>
    </tbody>
</table>
